Goto

Collaborating Authors

 loadmodel method


Tutorial: Detect objects using deep learning with ONNX and ML.NET - ML.NET

#artificialintelligence

In the Add New Item dialog box, select Class and change the Name field to OnnxModelScorer.cs. Then, select the Add button. The OnnxModelScorer.cs file opens in the code editor. Add the following using statement to the top of OnnxModelScorer.cs: Inside the OnnxModelScorer class definition, add the following variables. Directly below that, create a constructor for the OnnxModelScorer class that will initialize the previously defined variables.